﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200012B RID: 299
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BFIHFFONJIH : IMessage<BFIHFFONJIH>, IMessage, IEquatable<BFIHFFONJIH>, IDeepCloneable<BFIHFFONJIH>, IBufferMessage
	{
		// Token: 0x17000414 RID: 1044
		// (get) Token: 0x06000DBB RID: 3515 RVA: 0x00029291 File Offset: 0x00027491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BFIHFFONJIH> Parser
		{
			get
			{
				return BFIHFFONJIH._parser;
			}
		}

		// Token: 0x17000415 RID: 1045
		// (get) Token: 0x06000DBC RID: 3516 RVA: 0x00029298 File Offset: 0x00027498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BFIHFFONJIHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000416 RID: 1046
		// (get) Token: 0x06000DBD RID: 3517 RVA: 0x000292AA File Offset: 0x000274AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BFIHFFONJIH.Descriptor;
			}
		}

		// Token: 0x06000DBE RID: 3518 RVA: 0x000292B1 File Offset: 0x000274B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIHFFONJIH()
		{
		}

		// Token: 0x06000DBF RID: 3519 RVA: 0x000292C4 File Offset: 0x000274C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIHFFONJIH(BFIHFFONJIH other) : this()
		{
			this.fBBNKCFEIIC_ = other.fBBNKCFEIIC_;
			this.pJMAHBFKHLB_ = other.pJMAHBFKHLB_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000DC0 RID: 3520 RVA: 0x000292FA File Offset: 0x000274FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BFIHFFONJIH Clone()
		{
			return new BFIHFFONJIH(this);
		}

		// Token: 0x17000417 RID: 1047
		// (get) Token: 0x06000DC1 RID: 3521 RVA: 0x00029302 File Offset: 0x00027502
		// (set) Token: 0x06000DC2 RID: 3522 RVA: 0x0002930A File Offset: 0x0002750A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FBBNKCFEIIC
		{
			get
			{
				return this.fBBNKCFEIIC_;
			}
			set
			{
				this.fBBNKCFEIIC_ = value;
			}
		}

		// Token: 0x17000418 RID: 1048
		// (get) Token: 0x06000DC3 RID: 3523 RVA: 0x00029313 File Offset: 0x00027513
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<BuildAreaStep> PJMAHBFKHLB
		{
			get
			{
				return this.pJMAHBFKHLB_;
			}
		}

		// Token: 0x06000DC4 RID: 3524 RVA: 0x0002931B File Offset: 0x0002751B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BFIHFFONJIH);
		}

		// Token: 0x06000DC5 RID: 3525 RVA: 0x0002932C File Offset: 0x0002752C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BFIHFFONJIH other)
		{
			return other != null && (other == this || (this.FBBNKCFEIIC == other.FBBNKCFEIIC && this.pJMAHBFKHLB_.Equals(other.pJMAHBFKHLB_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000DC6 RID: 3526 RVA: 0x0002937C File Offset: 0x0002757C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FBBNKCFEIIC != 0U)
			{
				num ^= this.FBBNKCFEIIC.GetHashCode();
			}
			num ^= this.pJMAHBFKHLB_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000DC7 RID: 3527 RVA: 0x000293C9 File Offset: 0x000275C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000DC8 RID: 3528 RVA: 0x000293D1 File Offset: 0x000275D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000DC9 RID: 3529 RVA: 0x000293DC File Offset: 0x000275DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FBBNKCFEIIC != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.FBBNKCFEIIC);
			}
			this.pJMAHBFKHLB_.WriteTo(ref output, BFIHFFONJIH._repeated_pJMAHBFKHLB_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000DCA RID: 3530 RVA: 0x0002942C File Offset: 0x0002762C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FBBNKCFEIIC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FBBNKCFEIIC);
			}
			num += this.pJMAHBFKHLB_.CalculateSize(BFIHFFONJIH._repeated_pJMAHBFKHLB_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000DCB RID: 3531 RVA: 0x00029480 File Offset: 0x00027680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BFIHFFONJIH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FBBNKCFEIIC != 0U)
			{
				this.FBBNKCFEIIC = other.FBBNKCFEIIC;
			}
			this.pJMAHBFKHLB_.Add(other.pJMAHBFKHLB_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000DCC RID: 3532 RVA: 0x000294CD File Offset: 0x000276CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000DCD RID: 3533 RVA: 0x000294D8 File Offset: 0x000276D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 50U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.pJMAHBFKHLB_.AddEntriesFrom(ref input, BFIHFFONJIH._repeated_pJMAHBFKHLB_codec);
					}
				}
				else
				{
					this.FBBNKCFEIIC = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040005D7 RID: 1495
		private static readonly MessageParser<BFIHFFONJIH> _parser = new MessageParser<BFIHFFONJIH>(() => new BFIHFFONJIH());

		// Token: 0x040005D8 RID: 1496
		private UnknownFieldSet _unknownFields;

		// Token: 0x040005D9 RID: 1497
		public const int FBBNKCFEIICFieldNumber = 4;

		// Token: 0x040005DA RID: 1498
		private uint fBBNKCFEIIC_;

		// Token: 0x040005DB RID: 1499
		public const int PJMAHBFKHLBFieldNumber = 6;

		// Token: 0x040005DC RID: 1500
		private static readonly FieldCodec<BuildAreaStep> _repeated_pJMAHBFKHLB_codec = FieldCodec.ForMessage<BuildAreaStep>(50U, BuildAreaStep.Parser);

		// Token: 0x040005DD RID: 1501
		private readonly RepeatedField<BuildAreaStep> pJMAHBFKHLB_ = new RepeatedField<BuildAreaStep>();
	}
}
